﻿<UserControl x:Class="SilverRaport.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" Background="#FF196AA2">
	<UserControl.Resources>
		<Style x:Key="ButtonStyle1" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver">
										<Storyboard>
											<DoubleAnimation Duration="0" To="1.122" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="image" d:IsOptimized="True"/>
											<DoubleAnimation Duration="0" To="1.175" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="image" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Pressed"/>
									<VisualState x:Name="Disabled"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Image x:Name="image" Source="LoginIcon.png" Stretch="Fill" RenderTransformOrigin="0.5,0.5">
								<Image.RenderTransform>
									<CompositeTransform/>
								</Image.RenderTransform>
							</Image>
							<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</UserControl.Resources>

    <Grid x:Name="LayoutRoot" Background="White">
    	<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
    		<Grid Background="#FF10659C" VerticalAlignment="Center" HorizontalAlignment="Center">
    			<Image Source="/clouds.jpg" Stretch="Fill" d:LayoutOverrides="VerticalMargin" d:IsHidden="True"/>
    			<Image Source="/xfx_logon_background_blank_by_rouge_sid-d4zw44m.jpg" Stretch="Fill"/>
    		</Grid>
    		<Grid Height="344" Margin="16,0,0,16" Width="388" VerticalAlignment="Center" HorizontalAlignment="Center" d:LayoutOverrides="Width, Height">
    			<Image Source="candidateLoginBackground.png" Stretch="Fill" Opacity="0.54" d:IsLocked="True"/>
    			<TextBlock HorizontalAlignment="Left" Margin="44,75,0,0" TextWrapping="Wrap" Text="Kullanıcı Adı " VerticalAlignment="Top" FontSize="13.333"/>
    			<TextBlock HorizontalAlignment="Left" Margin="94,116,0,0" TextWrapping="Wrap" Text="Şifre " VerticalAlignment="Top" FontSize="13.333" d:LayoutOverrides="VerticalAlignment"/>
    			<TextBox x:Name="txtUser" Height="36" Margin="151,59,52,0" TextWrapping="Wrap" Text="Kullanıcı Adı" VerticalAlignment="Top" TabIndex="1"/>
    			<Button x:Name="btnGiris" Content="" HorizontalAlignment="Right" Height="86" Margin="0,0,73,42" Style="{StaticResource ButtonStyle1}" VerticalAlignment="Bottom" Width="86" d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" Cursor="Hand" TabIndex="3"/>
    			<TextBlock HorizontalAlignment="Left" Margin="8,-114,0,0" TextWrapping="Wrap" Text="Silver" VerticalAlignment="Top" FontSize="64" Foreground="#FF8B8B8B"/>
    			<TextBlock Margin="0,-114,12,0" TextWrapping="Wrap" Text="Rapor" VerticalAlignment="Top" FontSize="64" Foreground="#FFE50000" HorizontalAlignment="Right"/>
    			<PasswordBox x:Name="txtPass" HorizontalAlignment="Left" Margin="151,108,0,0" Width="185" Height="36" VerticalAlignment="Top" d:LayoutOverrides="Height" TabIndex="2"/>
    		</Grid>
    	</Grid>
    </Grid>
</UserControl>
